import request from '@/utils/http'

const  onepicture = {};

onepicture.monitorType = () => {
   return request.get('/screen/monitor/type/count',{},{})
}
onepicture.monitorArea = () =>{
    return request.get('/screen/monitor/area/count',{},{})
}
onepicture.routingResult = ()=>{
    return request.get('/screen/patrol/statistics',{},{})
}
onepicture.rank = ()=>{
    return request.get('/screen/device/rank',{},{})
}
onepicture.deviceOnline =()=>{
    return request.get('/screen/device/online/rate',{},{})
}
export default onepicture